.Btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0;
  padding: @btn-padding;
  border: @btn-border-width solid @btn-border-color;
  border-radius: @btn-border-radius;
  background: @btn-bg;
  color: @body-color;
  font-weight: @btn-font-weight;
  font-size: @btn-font-size;
  line-height: @btn-line-height;
  font-family: @btn-font-family;
  text-transform: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  transition: @btn-transition;
  user-select: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;

  &:not(:disabled) {
    cursor: pointer;
  }
  &:focus:not(:focus-visible) {
    outline: 0;
  }
  &:hover {
    background: @btn-hover-bg;
  }
  &:active {
    background: @btn-active-bg;
  }
  &:disabled {
    pointer-events: none;
    border-color: @btn-disabled-border-color;
    background-color: @btn-disabled-bg;
    color: @btn-disabled-color;
  }
  &--primary {
    border-color: @btn-primary-border-color;
    background: @btn-primary-bg;
    background-origin: border-box;
    color: @btn-primary-color;

    &:hover {
      background: @btn-primary-hover-bg;
      background-origin: border-box;
    }
    &:active {
      background: @btn-primary-active-bg;
    }
    &:disabled {
      border-color: @btn-primary-disabled-border-color;
      background: @btn-primary-disabled-bg;
      color: @btn-primary-disabled-color;
    }
  }
  &--text {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    vertical-align: initial;

    &:hover,
    &:active {
      background: transparent;
    }
  }
  &--float {
    padding: @btn-float-padding;
    border: 0;
    background: @btn-float-bg;
    box-shadow: @btn-float-box-shadow;
    color: @btn-float-color;
    font-size: @btn-float-font-size;
  }
  &--sm {
    padding: @btn-padding-sm;
    border-radius: @btn-border-radius-sm;
    font-size: @btn-font-size-sm;
  }
  &--lg {
    padding: @btn-padding-lg;
    border-radius: @btn-border-radius-lg;
    font-size: @btn-font-size-lg;
  }
  &--block {
    display: block;
    width: 100%;

    & + & {
      margin-top: @btn-block-spacing-y;
    }
  }
  &-icon {
    display: inline-flex;
    align-self: center;
    flex-shrink: 0;
    margin-inline-end: 0.5rem;
  }
}
